<?php

namespace app\mini\controller\v1\shop\validate;


use think\Validate;

class ShopGoodsValidate extends Validate
{
    protected $rule = [
        'status' => 'require',
        'id' => 'require',
        'status' => 'require',
        'offset' => 'require',
        'goods_id' => 'require',
    ];

    protected $message = [
    ];

    protected $scene = [
        'lists' => ['status'],
        'putAway' => ['goods_id'],
        'soldOut' => ['goods_id'],
        'sort' => ['id','status','offset'],
        'detail' => ['goods_id'],
    ];
}